1   package net.sourceforge.selfesteem.applet;
2   
3   /*
4    * %W% %E%
5    *
6    * Copyright 1997, 1998 by Sun Microsystems, Inc.,
7    * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
8    * All rights reserved.
9    *
10   * This software is the confidential and proprietary information
11   * of Sun Microsystems, Inc. ("Confidential Information").  You
12   * shall not disclose such Confidential Information and shall use
13   * it only in accordance with the terms of the license agreement
14   * you entered into with Sun.
15   */
16  
17  import javax.swing.tree.TreeModel;
18  
19  /***
20   * TreeTableModel is the model used by a JTreeTable. It extends TreeModel
21   * to add methods for getting inforamtion about the set of columns each
22   * node in the TreeTableModel may have. Each column, like a column in
23   * a TableModel, has a name and a type associated with it. Each node in
24   * the TreeTableModel can return a value for each of the columns and
25   * set that value if isCellEditable() returns true.
26   *
27   * @version %I% %G%
28   *
29   * @author Philip Milne
30   * @author Scott Violet
31   */
32  public interface TreeTableModel extends TreeModel {
33      int getColumnCount();
34  
35      String getColumnName(int column);
36  
37      Class getColumnClass(int column);
38  
39      Object getValueAt(Object node, int column);
40  
41      boolean isCellEditable(Object node, int column);
42  
43      void setValueAt(Object aValue, Object node, int column);
44  }
This page was automatically generated by Maven